package com.springboot.love.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.springboot.love.entity.Answer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AnswerDao extends BaseMapper<Answer> {

    /**
     * 根据帖子的id查询
     */
    List<Answer> selectBypostId(@Param("infos") List<Integer> postId);
}
